<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="expand.title"/></title>
<content tag="heading"><fmt:message key="expand.heading"/></content>
<form name="expand">
<html>

<table>
 	
 	<tr>
 		<td width="60%">
 			<input type="radio" name="Emp" value="0"><fmt:message key="expand.allExpand"/> <br>
 			<input type="radio" name="Emp" value="1" checked><fmt:message key="expand.personalExpand"/><br>
 			<input type="radio" name="Emp" value="2"><fmt:message key="expand.allDelete"/><br>
 			<input type="radio" name="Emp" value="3"><fmt:message key="expand.personalDelete"/><br><br>
 			<fmt:message key="expand.empID"/>:<input type="text" name="empIDs" size="20" value="">	
 		</td>
 		<td width="40%">
 			<input type="radio" name="Emp" value="4"><fmt:message key="expand.wotYearMonthExpand"/><br>
 			<input type="radio" name="Emp" value="5"><fmt:message key="expand.wotYearMonthDelete"/><br>
 		</td>
 	</tr>
 	
 	<tr>
 		<td width="60%">
 			<fmt:message key="expand.period"/>:
 			<input type="text" name="startDate" id="startDate" size="15">
 			<A HREF="#" onclick="cal1.select(document.forms[0].startDate,'anchor1','yyyy/MM/dd');return false;"
                     title = "cal1.select(document.forms[0].startDate, 'anchor1', 'yyyy/MM/dd'); return false;"
                     id="anchor1" name="anchor1">                
            <fmt:message key="button.calendar"/>            
            </A> 
 			~<input type="text" name="endDate" id="endDate" size="15">
 			<A HREF="#" onclick="cal1.select(document.forms[0].endDate,'anchor2','yyyy/MM/dd');return false;"
                     title = "cal1.select(document.forms[0].endDate, 'anchor2', 'yyyy/MM/dd'); return false;"
                     id="anchor2" name="anchor2">                
            <fmt:message key="button.calendar"/>            
            </A> 		
 		</td>
 		<td width="40%">
 			<fmt:message key="expand.yearmonth"/>:
 			<input type="text" name="startMonth" id="startMonth" size="10">
 			<A HREF="#" onclick="cal1.select(document.forms[0].startMonth,'anchor3','yyyy/MM');return false;"
                     title = "cal1.select(document.forms[0].startMonth, 'anchor3', 'yyyy/MM'); return false;"
                     id="anchor3" name="anchor3">                
            <fmt:message key="button.calendar"/>            
            </A> 
 		</td>
 	</tr>
 	
	<tr>
		<td colspan="2" width="100%" align="center">
       		<html:submit styleClass="button" property="method.expandEmpWorkCalendar" onclick="bCancel=false;">
           		<fmt:message key="button.execute"/>
       		</html:submit>
    	</td>
    </tr>
    
</table>
</form>
</html>

<SCRIPT LANGUAGE="JavaScript" SRC="scripts/CalendarPopup.js"></SCRIPT>
<script type="text/javascript">
    var cal1 = new CalendarPopup();
    cal1.showYearNavigation(); 
	cal1.showYearNavigationInput();
    //Form.focusFirstElement($("empWorkCalendarForm"));

</script>

